<?php
$search_action=$_GET['form_filter'];
if(isset($search_action) && $search_action=="action"){
	$str = 1;
}else{
	$str = 0;
	
	if(isset($_GET['category']) or isset($_GET['brand']) or isset($_GET['tag'])){
		if(isset($_GET['category'])){
			$str =  "'".$str."&category=".$_GET['category']."'";
		}else if(isset($_GET['brand'])){
			$str =  "'".$str."&brand=".$_GET['brand']."'";
		}else{
			$str =  "'".$str."&tag=".$_GET['tag']."'";
		}
	}	
}

echo $str;
?>